package main;

import java.util.ArrayList;
import java.util.Collection;

public class Operations {
	public static Collection intersection(Collection c1, Collection c2){
		Collection tmp = new ArrayList();
		for(Object obj : c1){
			if(c2.contains(obj)) tmp.add(obj);
		}		
		return tmp;
	}
}
